home *** CD-ROM | disk | FTP | other *** search
/ Ultimate Windows Wallpaper Pack / Ultimate Windows Wallpaper Pack.7z / Ultimate Windows Wallpaper Pack / 1-5. Windows 2000 and Me / +Pre-Release / 2000 Build 19xx / CONTROLP.HTT < prev    next >
Text File  |  2020-08-17  |  5KB  |  116 lines

  1. <!--
  2.  * Copyright 1998 Microsoft Corporation.  All rights reserved.
  3.  * This file was automatically generated by Microsoft Windows NT5 
  4.  * using the file %TEMPLATEDIR%\controlp.htt
  5.  -->
  6.  
  7. <html>
  8.     <link rel=stylesheet href="%TEMPLATEDIR%\webview.css" title="Windows">
  9.     <head>
  10.  
  11.         <script language="JavaScript">
  12.             var L_Intro_Text    = "Use the settings in Control Panel to personalize your computer.<br><br>";
  13.             var L_Prompt_Text   = "Select an item to view its description.";
  14.             var L_Multiple_Text = " items selected.";
  15.             var gTimer          = 0;
  16.             var gDoBlends       = false && (navigator.cpuClass != "Alpha" && screen.colorDepth > 8);
  17.  
  18.  
  19.             function Load() {
  20.                 Info.innerHTML = L_Intro_Text + L_Prompt_Text;
  21.  
  22.                 // fix styles
  23.                 var L_SystemFont1_Text = "MS Sans Serif";
  24.                 var L_SystemFont2_Text = "MS Shell Dlg";
  25.                 var L_SystemFont_Text = "Tahoma, Verdana";
  26.                 var tr = document.body.createTextRange();
  27.                 if (navigator.cpuClass != "Alpha") {
  28.                     tr.collapse();
  29.                     var actualFont = tr.queryCommandValue("FontName");
  30.                     if (actualFont == L_SystemFont1_Text || actualFont == L_SystemFont2_Text)
  31.                         document.body.style.fontFamily = L_SystemFont_Text;
  32.                 } else
  33.                     document.body.style.fontFamily = L_SystemFont_Text;
  34.  
  35.                     
  36.                 // set focus on the icons
  37.                 x=window.setTimeout("FileList.focus();",0);
  38.                 x=null;
  39.             }
  40.  
  41.             function ShowInfo() {
  42.                 // this script updates the left info panel when you select icons
  43.                 var folder = FileList.Folder;
  44.                 var item;
  45.                 var data;
  46.                 var i;
  47.  
  48.                 if (gDoBlends) {
  49.                     Panel.filters[0].Stop();
  50.                     Panel.filters[0].Apply();
  51.                 }
  52.                 data = FileList.SelectedItems().Count;
  53.                 if (data == 0) {
  54.                     // nothing selected?
  55.                     text = L_Intro_Text + L_Prompt_Text;
  56.                 } else if (data > 1) {
  57.                     // more than one item selected?
  58.                     text = data + L_Multiple_Text + "<br>";
  59.                     if (data <= 16)
  60.                         for (i = 0; i < data; i++)
  61.                             text += "<br>" + FileList.SelectedItems().Item(i).Name;
  62.                 } else {
  63.                     item = FileList.SelectedItems().Item(0);
  64.                     text = "<b>" + folder.GetDetailsOf(item, 0) + "</b><br>" + folder.GetDetailsOf(item, 1);
  65.                 }
  66.                 Info.innerHTML = text;
  67.                 if (gDoBlends)
  68.                     Panel.filters[0].Play();
  69.             }
  70.  
  71.             function fileListLeft(bodyWidth)
  72.             {
  73.                 return (bodyWidth > 400 ? 200 : 0);
  74.             }
  75.         </script>
  76.  
  77.         <script language="JavaScript" for="FileList" event="SelectionChanged">
  78.             window.clearTimeout(gTimer);
  79.             gTimer = window.setTimeout("ShowInfo()", gDoBlends ? 500 : 0); // need actual double-click time
  80.         </script>
  81.     </head>
  82.  
  83.     <body scroll=no onload=Load()>
  84.         <div id=Panel style="position: absolute; visibility: visible; width: 200px; top: 0; left: 0; height: expression(document.body.clientHeight); overflow: auto; background: white URL(file://%TEMPLATEDIR%/wvleft.bmp) no-repeat">
  85.             <div id=Corner>
  86.                 <object id=FolderIcon classid="clsid:E5DF9D10-3B52-11D1-83E8-00A0C90DC849" width=32 height=32>
  87.                     <param name="scale" value=100>
  88.                 </object>
  89.                 <br>
  90.                 <div id=FolderName>
  91.                     %THISDIRNAME%
  92.                 </div>
  93.             </div>
  94.             <img id=LogoLine src="%TEMPLATEDIR%\wvline.gif">
  95.             <div id=Details>
  96.                 <span id=Info>
  97.                     %THISDIRPATH%
  98.                 </span>
  99.                 <br>
  100.                 <object id=Thumbnail classid="clsid:1D2B4F40-1F10-11D1-9E88-00C04FDCAB92" style="display: none">
  101.                 </object>
  102.                 <p>
  103.                 <br>
  104.                 <id id=Link1>
  105.                 <a href="http://windowsupdate.microsoft.com/default.htm">Windows Update</a>
  106.                 <p class=Half>
  107.                 <id id=Link2>
  108.                 <a href="http://support.microsoft.com/support">Technical Support</a>
  109.             </div>
  110.         </div>
  111.         <object id=FileList tabindex=1 border=0 style="position: absolute; top: 0; height: expression(document.body.clientHeight); left: expression(fileListLeft(document.body.clientWidth)); width: expression(document.body.clientWidth - this.style.pixelLeft); tabIndex: 1"
  112.             classid="clsid:1820FED0-473E-11D0-A96C-00C04FD705A2">
  113.         </object>
  114.     </body>
  115. </html>
  116.